<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>在线聊天室</title>
    <link rel="stylesheet" href="./css/global.css" />
    <link rel="stylesheet" href="./css/index.css" />
</head>

<body>
    <div class="login">
        <div class="form">
            <h1>请输入你的昵称，回车后进入聊天室</h1>
            <input type="text" />
        </div>
    </div>
    <div class="chat" style="display: none;">
        <div class="user-list">
            <div class="title">在线人数：<span>0</span></div>
            <ul class="users">
                <li class="all">所有人</li>
            </ul>
        </div>

        <div class="main">
            <ul class="chat-list">
                <li class="log">欢迎来到渡一聊天室</li>
            </ul>
            <div class="sendmsg">
                <span class="gray">对</span>
                <span class="user">所有人</span>
                <span class="gray">说：</span>
                <input type="text" />
            </div>
        </div>
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
    <script src="js/ui.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/socket.io/4.1.3/socket.io.js"></script>
    <script src="./js/chat.js"></script>
</body>

</html>